package listtest;


import java.util.ArrayList;

public class Test {
    public static void main(String[] args) {
        ArrayList<Integer> list = new ArrayList<>();

    }
    public static void main2(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        myArrayList.add(3);
        myArrayList.add(4);
        myArrayList.add(5);
        myArrayList.add(2,15);
        myArrayList.add(8,151);

        myArrayList.display();
    }
    public static void main1(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        IList list = new MyArrayList();

        System.out.println(list.size());
        System.out.println(myArrayList.size());
        System.out.println("====================");
        list.display();
        myArrayList.display();
    }
}
